package com.traffic.system.model;

/**
 * Created by Administrator on 2015/12/1.
 */
public class BusinessException extends RuntimeException {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4471548091618964608L;
	private Object data;

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(Exception e) {
        super(e);
        e.printStackTrace();
    }
    
    public BusinessException(String message, Object data) {
        super(message);
        this.data = data;
    }

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
    
    
}
